package com.xueyi.system.supplier.domain.dto;

import com.baomidou.mybatisplus.annotation.TableName;
import com.xueyi.system.supplier.domain.po.BaseSupplierPo;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 供应商 数据传输对象
 *
 * @author xueyi
 */
public class BaseSupplierDto extends BaseSupplierPo {

    private static final long serialVersionUID = 1L;

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("supplierName", getSupplierName())
            .append("supplierCode", getSupplierCode())
            .append("supplierType", getSupplierType())
            .append("supplierPhone", getSupplierPhone())
            .append("supplierAddress", getSupplierAddress())
            .append("supplierQualifications", getSupplierQualifications())
            .append("supplierCertificate", getSupplierCertificate())
            .append("supplierNature", getSupplierNature())
            .append("supplierWares", getSupplierWares())
            .append("legalRepresentative", getLegalRepresentative())
            .append("remark", getRemark())
            .append("createBy", getCreateBy())
            .append("createName", getCreateName())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateName", getUpdateName())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}